﻿<%@ Page Language="C#" MasterPageFile="~/MainMaster.Master" AutoEventWireup="true"
    CodeBehind="KtKeyWords.aspx.cs" Inherits="Mang24k99.Web.KEYW.KtKeyWords"
    Title="关键字维护" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
    function Validate(txtWordsNo,txtWordsName)
    {
        var WordsNo=document.getElementById(txtWordsNo);
        var WordsName=document.getElementById(txtWordsName);
        if(WordsNo.value!="" && WordsName.value=="")
        {
            var result=confirm("你确定要清除该组关键字吗？");
            if(result)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        if (WordsNo.value=="" && WordsName.value=="")
        {
            alert("请输入首页显示关键词组！");
            return false;
        }
    }

    function Cancel()
    {
        var result =confirm("刚才未保存的操作将会取消，你确定吗？");
        if(result)
        {
            return true;
        }
        else
        {
            return false;
        }
    }
    
    function Focus(obj)
    {
        obj.focus;
//        document.getElementById('<%=txtWordsName1.ClientID%>').focus;
    }
    
</script>
    <div >
        <table>
            <tr>
                <td class="tb_title1">
                    首页显示关键词组1：
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtWordsName1"   runat="server" Width="300px" MaxLength="20"></asp:TextBox>
                    <asp:TextBox ID="txtWordsNo1" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td class="tb_title1">
                    绑定关键词为：
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtMainWrod1" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtMainWrod1')"
                        onkeydown="SearchStockSelected(event,'txtMainWrod1')" onkeypress="SearchStockSelected(event,'txtMainWrod1')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>+
                    <asp:TextBox ID="txtMainWrod1H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo11" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo11')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo11')" onkeypress="SearchStockSelected(event,'txtFixWordNo11')"
                        AutoCompleteType="disabled"></asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo11H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo12" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo12')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo12')" onkeypress="SearchStockSelected(event,'txtFixWordNo12')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo12H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo13" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo13')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo13')" onkeypress="SearchStockSelected(event,'txtFixWordNo13')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo13H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo14" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo14')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo14')" onkeypress="SearchStockSelected(event,'txtFixWordNo14')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo14H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo15" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo15')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo15')" onkeypress="SearchStockSelected(event,'txtFixWordNo15')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo15H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo16" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo16')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo16')" onkeypress="SearchStockSelected(event,'txtFixWordNo16')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo16H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo17" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo17')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo17')" onkeypress="SearchStockSelected(event,'txtFixWordNo17')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo17H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo18" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo18')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo18')" onkeypress="SearchStockSelected(event,'txtFixWordNo18')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo18H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align=center >
                    <asp:Button ID="btnSave1" runat="server" Width=60 CssClass="form_btn" Text="保存" OnClick="btnSave1_Click" />
                </td>
                <td align=center >
                    <asp:Button ID="btnCancel1" CssClass="form_btn" runat="server" Width=60 Text="取消" 
                        onclick="btnCancel1_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table>
            <tr>
                <td class="tb_title1">
                    首页显示关键词组2：
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtWordsName2" runat="server" Width="300px" MaxLength="20"></asp:TextBox>
                    <asp:TextBox ID="txtWordsNo2" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td class="tb_title1">
                    绑定关键词为：
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtMainWrod2" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtMainWrod2')"
                        onkeydown="SearchStockSelected(event,'txtMainWrod2')" onkeypress="SearchStockSelected(event,'txtMainWrod2')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>+
                     <asp:TextBox ID="txtMainWrod2H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo21" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo21')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo21')" onkeypress="SearchStockSelected(event,'txtFixWordNo21')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo21H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo22" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo22')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo22')" onkeypress="SearchStockSelected(event,'txtFixWordNo22')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo22H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo23" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo23')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo23')" onkeypress="SearchStockSelected(event,'txtFixWordNo23')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo23H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo24" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo24')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo24')" onkeypress="SearchStockSelected(event,'txtFixWordNo24')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo24H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo25" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo25')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo25')" onkeypress="SearchStockSelected(event,'txtFixWordNo25')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo25H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo26" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo26')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo26')" onkeypress="SearchStockSelected(event,'txtFixWordNo26')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo26H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo27" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo27')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo27')" onkeypress="SearchStockSelected(event,'txtFixWordNo27')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo27H" runat="server" Style="display: none"></asp:TextBox>
                </td>
                <td class="tb_txt1">
                    <asp:TextBox ID="txtFixWordNo28" runat="server" customDefaultEvent="false" onkeyup="SearchStockShow(event,'txtFixWordNo28')"
                        onkeydown="SearchStockSelected(event,'txtFixWordNo28')" onkeypress="SearchStockSelected(event,'txtFixWordNo28')"
                        AutoCompleteType="disabled">
                    </asp:TextBox>
                     <asp:TextBox ID="txtFixWordNo28H" runat="server" Style="display: none"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align=center>
                    <asp:Button ID="btnSave2" runat="server" Width=60 CssClass="form_btn" Text="保存" onclick="btnSave2_Click" />
                </td>
                <td align=center >
                    <asp:Button ID="btnCancel2" runat="server" Width=60  CssClass="form_btn" Text="取消" 
                        onclick="btnCancel2_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
